<?php 
	session_start(); 
	include("header.php");
	include_once("top_menu.php");	
?>
<title>
	Registration of new moderator
</title>
<div class = 'error'>
	<?php 
		if (isset($_SESSION['error'])) {
			echo $_SESSION['error']."<br>";
			unset($_SESSION['error']);
		}
	?>
</div>
<div class = 'header-reg'>
	Registration of new moderator
</div>
<form action = "verification.php" method="POST">
	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			Username: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'username' size = '30'>
		</div>
	</div>

	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			Last Name: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'lastname' size = '30'>
		</div>
	</div>

	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			First Name: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'firstname' size = '30'>
		</div>
	</div>
	
	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			Phone Number: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'phonenumber' size = '30'>
		</div>
	</div>

	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			E-Mail: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'email' size = '30'>
		</div>
	</div>
		
	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			Password: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'password' size = '30'>
		</div>
	</div>

	<div class = 'row-reg'>
		<div id = 'row-reg-c1'>
			Password Confirmation: <font color="red">*</font>
		</div>
		<div id = 'row-reg-c2'>
			<input type = 'text' class = 'bordered_input' name = 'password2' size = '30'>
		</div>
	</div>
	<div class = 'note-reg'>		
		Fields with <font color="red">*</font> sign must be filled
	</div>
	<input type="submit" value="Register new moderator" name="submit" class = 'button button-reg'>
</form>